<template>
  <div>
    <el-page-header @back="goBack" :content="title"></el-page-header>
  </div>
</template>

<script>
export default {
  props: ['title'],
  methods: {
    // 返回上一页面
    goBack () {
      this.$router.go(-1)
    }
  }
}
</script>
